From 7e483283ebe5ea89b28f774c58566ab85e011028 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 12 Mar 2004 17:41:55 +0000 Subject: [PATCH] Give cache type precedence over container type. (Liek the comment said...) --- gpsbabel/util.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gpsbabel/util.c b/gpsbabel/util.c index 4df42e887..9166ca4c4 100644 --- a/gpsbabel/util.c +++ b/gpsbabel/util.c @@ -483,13 +483,6 @@ get_cache_icon(const waypoint *waypointp) * For icons, type overwrites container. So a multi-micro will * get the icons for "multi". */ - switch (waypointp->gc_data.container) { - case gc_micro: - return "Micro-Cache"; - break; - default: - break; - } switch (waypointp->gc_data.type) { case gt_virtual: return "Virtual cache"; @@ -502,6 +495,13 @@ get_cache_icon(const waypoint *waypointp) default: break; } + switch (waypointp->gc_data.container) { + case gc_micro: + return "Micro-Cache"; + break; + default: + break; + } return NULL; } -- 2.30.2